import './index.less';
import zhCN from 'antd/lib/locale/zh_CN';
import { ConfigProvider } from 'antd';

import Login from './login/login';

export default function IndexPage(props) {
  return (
    <div className="index">
      {/* 入口 文件 */}
      <ConfigProvider locale={zhCN}>
        {/* { props.children ? <Login /> : props.children } */}
        {props.children}
        {/* <Login /> */}
      </ConfigProvider>
    </div>
  );
}
